package com.dp.iot.model;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.util.Date;
import java.sql.Time;
import java.sql.Timestamp;
import java.math.*;
import java.io.Serializable;
import lombok.Data;
/**
* 代码为自动生成 Created by www.magicalcoder.com
* 如果你改变了此类 read 请将此行删除
* 欢迎加入官方QQ群:323237052
*/
@Data
public class IotCollectionPoint implements Serializable{

    private String collectionPointId;//采集点ID
    private String equipmentCollectionId;//设备采集方式ID
    private String collectionPointName;//采集点名称
    private String collectionPointType;//采集点类型
    private Integer collectionPointRate;//采集频率，单位毫秒
    private String collectionPointIp;//采集点地址
    private String collectionPointDataType;//采集点数据类型
    private String collectionPointDataProcess;//数据处理
    private String remarks;//备注
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp creationTime;//创建时间
    private String creationUser;//创建人
    @DateTimeFormat( pattern = "yyyy-MM-dd HH:mm:ss" )
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
    private Timestamp updateTime;//更新时间
    private String updateUser;//更新人
    private String spare1;//备用1
    private String spare2;//备用2
    private String spare3;//备用3


    public String getCollectionPointId(){
        return collectionPointId;
    }
    public void setCollectionPointId(String collectionPointId){
        this.collectionPointId = collectionPointId;
    }

    public String getEquipmentCollectionId(){
        return equipmentCollectionId;
    }
    public void setEquipmentCollectionId(String equipmentCollectionId){
        this.equipmentCollectionId = equipmentCollectionId;
    }

    public String getCollectionPointName(){
        return collectionPointName;
    }
    public void setCollectionPointName(String collectionPointName){
        this.collectionPointName = collectionPointName;
    }

    public String getCollectionPointType(){
        return collectionPointType;
    }
    public void setCollectionPointType(String collectionPointType){
        this.collectionPointType = collectionPointType;
    }

    public Integer getCollectionPointRate(){
        return collectionPointRate;
    }
    public void setCollectionPointRate(Integer collectionPointRate){
        this.collectionPointRate = collectionPointRate;
    }

    public String getCollectionPointIp(){
        return collectionPointIp;
    }
    public void setCollectionPointIp(String collectionPointIp){
        this.collectionPointIp = collectionPointIp;
    }

    public String getCollectionPointDataType(){
        return collectionPointDataType;
    }
    public void setCollectionPointDataType(String collectionPointDataType){
        this.collectionPointDataType = collectionPointDataType;
    }

    public String getCollectionPointDataProcess(){
        return collectionPointDataProcess;
    }
    public void setCollectionPointDataProcess(String collectionPointDataProcess){
        this.collectionPointDataProcess = collectionPointDataProcess;
    }

    public String getRemarks(){
        return remarks;
    }
    public void setRemarks(String remarks){
        this.remarks = remarks;
    }

    public Timestamp getCreationTime(){
        return creationTime;
    }
    public void setCreationTime(Timestamp creationTime){
        this.creationTime = creationTime;
    }

    public String getCreationUser(){
        return creationUser;
    }
    public void setCreationUser(String creationUser){
        this.creationUser = creationUser;
    }

    public Timestamp getUpdateTime(){
        return updateTime;
    }
    public void setUpdateTime(Timestamp updateTime){
        this.updateTime = updateTime;
    }

    public String getUpdateUser(){
        return updateUser;
    }
    public void setUpdateUser(String updateUser){
        this.updateUser = updateUser;
    }

    public String getSpare1(){
        return spare1;
    }
    public void setSpare1(String spare1){
        this.spare1 = spare1;
    }

    public String getSpare2(){
        return spare2;
    }
    public void setSpare2(String spare2){
        this.spare2 = spare2;
    }

    public String getSpare3(){
        return spare3;
    }
    public void setSpare3(String spare3){
        this.spare3 = spare3;
    }
}
